﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace WeSSysUser.model
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract]
    public interface IWeSSysUser
    {
        [OperationContract]
        ActivateAccountResult activateAccount(int id, string token);

        [OperationContract]
        CheckAccountResult checkAccount(string email);

        [OperationContract]
        CreateAccountResult createAccountForActivating(string email, string password);

        [OperationContract]
        ResetActivatedTokenResult resetActivatedToken(string email);

        [OperationContract]
        ResetPasswordResult resetPassword(string email);

        [OperationContract]
        LoginResult logIn(string email, string password);

    }
}
